
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>bootstrap中文后台开发框架</title>
    <link rel="icon" href="favicon.ico" type="image/ico">
    <link href="css/style.css" rel="stylesheet">
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/theme.css" rel="stylesheet">
    <link href="css/fonts.css" rel="stylesheet">
    <script src="js/jquery.min.js"></script>
    <script src="js/bootstrap.js"></script>
    <script src="js/jquery.cookie.js"></script>
    <script src="js/framework.js"></script>
    <script src="js/index.js"></script>
    <script src="js/indextab.js"></script>
    <script src="js/pace.min.js"></script>
</head>

<body class="theme-blue-gradient pace-done" >
    <h2 style="text-align: center;">优惠券添加</h2>
    <div id="new_coupon">
        <div style="border: solid 1px rgb(193, 192, 192);margin-bottom: 150px; margin-top: 100px;margin-left: 300px;margin-right: 300px;">
            <div style="padding: 80px;">
                <table style="padding: 160px;">
                    <tr>
                        <td style="padding: 30px;">商铺选择</td>
                        <td style="padding: 30px;">
                            <select v-model="selectshopname" class="form-control" name="example-select" size="1">
                                <option v-for="(shopname,index) in shopnames" :value="shopname">{{shopname}}</option>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td style="padding: 30px;">使用门槛：</td>
                        <td colspan="2" style="padding: 30px;">
                            <input class="form-control" type="text" id="example-text-input" name="example-text-input"
                                v-model="editfullminus" placeholder="金额..">
                        </td>
                    </tr>
                    <tr>
                        <td style="padding: 30px;">优惠量：</td>
                        <td colspan="2" style="padding: 30px;">
                            <input class="form-control" type="text" id="example-text-input" name="example-text-input"
                                v-model="editdiscount" placeholder="金额..">
                        </td>
                    </tr>
                    <tr>
                        <td style="padding: 30px;">库存：</td>
                        <td style="padding: 30px;">
                            <input class="form-control" type="text" id="example-text-input" name="example-text-input"
                                v-model="editstock" placeholder="数量..">
                        </td>
                    </tr>
                    <tr>
                        <td style="padding: 30px;">是否上线：</td>
                        
                        <td style="text-align: center;">
                            <label class="ftdms-switch switch-solid switch-info">
                                <input type="checkbox" v-model="editavailable">
                                <span></span>
                            </label>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="1">
                        </td>
                        <td style="padding: 30px;">
                            <button class="btn btn-primary" @click="addcoupon()">确认添加</button>
                        </td>
                        
                    </tr>
                </table>
            </div>
        </div>
    </div>
</body>

</html>